const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    open: true,
    host: '127.0.0.1',
    proxy: {
      '/api': {
        target: 'http://sph-h5-api.atguigu.cn',
        // pathRewrite: {"^/api" : ""} //路径重写 就看真实服务器地址需不需要这个路径前缀
      },
    },
  },
})
